/*

Copyright (c) 2008. Kyle Hayes
All rights reserved.
 
@ignore
*/
package org.hayes.geronimo.control
{
	import com.adobe.cairngorm.control.FrontController;
	import com.adobe.cairngorm.samples.store.command.*;
	
	import org.hayes.geronimo.command.httpdConf.AddVirtualHostCommand;
	import org.hayes.geronimo.command.httpdConf.SetHttpdConfPathCommand;
	import org.hayes.geronimo.event.*;
	
	/**
	 * @version	$Revision: $
	 */
	public class AppController extends FrontController
	{
		public function AppController()
		{
			initialiseCommands();
		}
		
		public function initialiseCommands() : void
		{
			addCommand(HttpdConfEvent.SET_PATH, SetHttpdConfPathCommand);
			addCommand(VirtualHostEvent.ADD_VIRTUAL_HOST, AddVirtualHostCommand);
		}	
	}
	
}